import axios from '../utility/request';

/**
 * @description: 登录
 * @param {*} params
 * @return {*}
 */
export function Login(params) {
    return axios({
        url: '/admin/login',
        method: 'post',
        data: params
    })
}

/**
 * @description: 登录
 * @param {*} params
 * @return {*}
 */
 export function GetMenu() {
    return axios({
        url: '/Admin/GetMenu',
        method: 'get'
    })
}